package com.itfang.nacos.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author znF
 * @version v1.0
 * @ClassName RemoteClient
 * @Description TODO
 * @date: 2020/6/20
 */
@FeignClient(name = "nacos-provide",fallback = RemoteHystrix.class)
public interface RemoteClient {

    @GetMapping("/helloNacos")
    String helloNacos();
}
